home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / What's New? / Development Kits / USBDDK_v1.0.1_updated / Examples / HIDModuleTest / HIDModuleTest Readme next >
Encoding:
Text File  |  1998-09-29  |  2.0 KB  |  36 lines  |  [TEXT/ttxt]

  1. HIDModuleTest
  2. Version: 1.0b1
  3.  
  4. A USB application sample to demonstrate access of the HID API within a composite class driver.
  5.  
  6. Description
  7.  
  8. The HIDModuleTest sample demonstrates the use of USBGetNextDeviceByClass to find a USB keyboard and mouse device. If the devices exist, FindSymbol is called to find the exported TheHIDModuleDispatchTable procptr array. The HID device interrupt handler is saved and a temporary interrupt handler is installed. the original interrupt handler is restored.
  9.  
  10. Building the Code
  11.  
  12. This sample was built using the Metrowerks CodeWarrior Pro 2, IDE v2.1 environment and the Mac OS USB DDK v1.0.1.  Also required, is the Universal Interfaces and Libraries 3.1.
  13.  
  14. To rebuild the project, first place the HIDModuleTest folder into the USBDDK:Examples: folder. The project file assumes  specific access paths that are project specific. the resulting application is built into the current folder.
  15.  
  16. Considerations
  17.  
  18. This sample demonstrates the replacement of the HID device interrupt proc. This is the interrupt proc which is called to process incoming data once it has been received by the HID device class driver. It's important to note that for a real process, the interrupt proc cannot be paged out if virtual memory is enabled.
  19.  
  20. Bug Reports:
  21.  
  22. If you find any bugs, please send them to "usb@isg.apple.com" and include "Attn: Rich Kubota" and I will try to address them.
  23.  
  24. Questions??:
  25.  
  26. For any questions which you may have with this sample or with Mac OS USB, please submit them to either the Mac OS USB mailing list, usb@apple.com, or to Worldwide Macintosh Developer Technical Support (WWDTS), dts@apple.com. If you are not familiar with the recent changes to the WWDTS support plans, please check them out at the Developer Programs web page, 
  27.  
  28. <http://developer.apple.com/programs/>
  29.  
  30. To subscribe to the Mac OS USB Developer mailing list, send an email to usb@isg.apple.com with the email subject set to "subscribe".
  31.  
  32. Rich Kubota
  33. Apple Macintosh Developer Technical Support
  34. rkubota@apple.com
  35. 9/16/98
  36.